<?php
class TextinfoAction extends CommonAction {
	public function index() {
		//列表过滤器，生成查询Map对象
		$map = $this->_search();
		if ( method_exists( $this, '_filter' ) ) {
			$map = $this->_filter();
		}
		$map['mid'] = $this->mid;
		$model = D( $this->mod );
		if ( !empty( $model ) ) {
			$this->_list( $model, $map ,' iswelcome desc,ishelp desc,id desc');
		}
		cookie( '_currentUrl_', __SELF__ );
		$this->display();
		return;
    }
}